Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wallet] Show the currency values with correct rounding. #1435

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

Pedro-vk
Copy link
Contributor

Description

Number rounding has a small tolerance to number with long decimals

Tested

Tested in android Device

Related issues

Backwards compatibility

Backward compatible.

@Pedro-vk Pedro-vk changed the title Show the number with the correct rounding. [Wallet] Show the currency calues with correct rounding. Oct 23, 2019
@Pedro-vk Pedro-vk force-pushed the bugfix/#1305-eur-issues branch 2 times, most recently from c6f7570 to 6630ea4 Compare October 23, 2019 12:10
@jmrossy jmrossy merged commit 4dd43cd into celo-org:master Oct 23, 2019
@jmrossy jmrossy changed the title [Wallet] Show the currency calues with correct rounding. [Wallet] Show the currency values with correct rounding. Oct 23, 2019
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

Merging #1435 into master will decrease coverage by 4.89%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #1435     +/-   ##
=========================================
- Coverage   72.57%   67.68%   -4.9%     
=========================================
  Files         302      269     -33     
  Lines       10313     8037   -2276     
  Branches      741      489    -252     
=========================================
- Hits         7485     5440   -2045     
+ Misses       2716     2485    -231     
  Partials      112      112
Flag Coverage Δ
#mobile 67.68% <81.81%> (+0.01%) ⬆️
#protocol ?
Impacted Files Coverage Δ
packages/mobile/src/utils/formatting.ts 89.13% <81.81%> (-0.62%) ⬇️
...kages/protocol/contracts/identity/Attestations.sol
.../common/linkedlists/SortedLinkedListWithMedian.sol
...ackages/protocol/contracts/common/FractionUtil.sol
.../contracts/common/linkedlists/SortedLinkedList.sol
...ackages/protocol/contracts/governance/Election.sol
...kages/protocol/contracts/stability/StableToken.sol
...ckages/protocol/contracts/common/UsingRegistry.sol
packages/protocol/contracts/common/Registry.sol
...kages/protocol/contracts/governance/Governance.sol
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82a97ef...9a92c49. Read the comment docs.

@Pedro-vk Pedro-vk deleted the bugfix/#1305-eur-issues branch October 23, 2019 15:33
aaronmgdr added a commit that referenced this pull request Oct 24, 2019
* master:
  [Wallet] Wallet can switch between hosted and local node (#1419)
  [Wallet] Prevent error from Avatar when name is missing (#1454)
  [Wallet] Show splash screen until JS is ready on iOS (#1453)
  Use new segment api keys used by both iOS and Android (#1452)
  [Wallet] Don't log all props, which includes i18n (#1445)
  [Helm] Updated the helm package to deploy the upgraded blockscout version (#1129)
  Tiny copy change (#1429)
  [contractkit] SortedOraclesWrapper + tests (#1405)
  [wallet] Refactor leftover thunk to sagas (#1388)
  [Wallet] Fix repeated QR code scanning and related navigation issues (#1439)
  [Wallet] Show the currency values with correct rounding. (#1435)
  [Wallet] Fix firebase initialization error on iOS after reinstalling the app (#1423)
  [Wallet] Use exit on iOS since we can't restart like Android (#1424)
  [Wallet] Update local currency styles and layout (#1325)
  Reset pincode cache if unlock fails (#1430)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local currency rounding can show discrepancies between amount input and confirmation screen for Euro
2 participants